import request from '../utils/request'

export const getLunbo = () => {
  return request({
    method: 'get',
    url: '/api/getlunbo'
  })
}

export const getGids = () => {
  return request({
    method: 'get',
    url: '/api/grids'
  })
}

export const getNewsList = () => {
  return request({
    method: 'get',
    url: '/api/getnewslist'
  })
}

export const getNewsInfo = (id) => { // 自己定义的id
  return request({
    method: 'get',
    url: '/api/getnew/' + id
  })
}
